package org.brisling.listenner.workflow;

import org.activiti.engine.delegate.event.ActivitiEvent;
import org.activiti.engine.delegate.event.ActivitiEventListener;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

public class SignalListener implements ActivitiEventListener{

	/** 
	  * 日志处理器 
	  */  
	public final static Log log=LogFactory.getLog(TaskCompleteListener.class);
	
	@Override
	public void onEvent(ActivitiEvent event) {
		// TODO Auto-generated method stub
		log.info("ProcessDefinitionId : " +event.getProcessDefinitionId());
		log.info("ExecutionId : " +event.getExecutionId());
		log.info("ProcessInstanceId : " +event.getProcessInstanceId());
	}

	@Override
	public boolean isFailOnException() {
		// TODO Auto-generated method stub
		return false;
	}
}
